/**
 * 2010(c) Copyright Oceansoft Information System Co.,LTD. All rights reserved.
 * <p>
 * Compile: JDK 1.6+
 * <p>
 * 版权所有(C)：江苏欧索软件有限公司
 * <p>
 * 公司名称：江苏欧索软件有限公司
 * <p>
 * 公司地址：中国苏州科技城青山路1号
 * <p>
 * 网址: http://www.oceansoft.com.cn
 * <p>
 * 作者: 090922(陈伟)
 * <p>
 * 文件名: com.oceansoft.mobile.econsole.common.constant.ConfigInfo
 * <p>
 * 类产生时间: 2014-09-15 10:10
 * <p>
 * 负责人: 090922(陈伟)
 * <p>
 * Email:javacspring@gmail.com
 * <p>
 * 项目组 : 苏州公安移动门户
 * <p>
 * 部门: 手持技术部
 * <p>
 * <p>
 */
package cn.com.oceansoft.nos.common.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 系统配置属性加载类
 *
 * @author chenw
 * @time 2014-09-15 10:10
 */
@Component(value = "configInfo")
public class ConfigInfo {


    @Value("#{configReader['jdbc.driver']}")
    private String jdbcDriver;

    @Value("#{configReader['jdbc.url']}")
    private String jdbcURL;

    @Value("#{configReader['jdbc.username']}")
    private String jdbcUserName;

    @Value("#{configReader['jdbc.password']}")
    private String jdbcPassword;

    @Value("#{configReader['redis.host']}")
    private String redisServerHost;

    @Value("#{configReader['redis.port']}")
    private String redisServerPort;

    @Value("#{configReader['redis.password']}")
    private String redisPassword;



    public String getJdbcDriver() {
        return jdbcDriver;
    }

    public void setJdbcDriver(String jdbcDriver) {
        this.jdbcDriver = jdbcDriver;
    }

    public String getJdbcURL() {
        return jdbcURL;
    }

    public void setJdbcURL(String jdbcURL) {
        this.jdbcURL = jdbcURL;
    }

    public String getJdbcUserName() {
        return jdbcUserName;
    }

    public void setJdbcUserName(String jdbcUserName) {
        this.jdbcUserName = jdbcUserName;
    }

    public String getJdbcPassword() {
        return jdbcPassword;
    }

    public void setJdbcPassword(String jdbcPassword) {
        this.jdbcPassword = jdbcPassword;
    }

    public String getRedisServerHost() {
        return redisServerHost;
    }

    public void setRedisServerHost(String redisServerHost) {
        this.redisServerHost = redisServerHost;
    }

    public String getRedisServerPort() {
        return redisServerPort;
    }

    public void setRedisServerPort(String redisServerPort) {
        this.redisServerPort = redisServerPort;
    }

    public String getRedisPassword() {
        return redisPassword;
    }

    public void setRedisPassword(String redisPassword) {
        this.redisPassword = redisPassword;
    }
}
